TColorLab Class Reference
[MCImage]

List of all members.

Public Member Functions

 TColorLab ()
 TColorLab (const TColorLab &lab)
 TColorLab (const uint16[])
 TColorLab (const uint16, const uint16, const uint16)
void FromLab (const TColorLab &)
uint16 & operator[] (int8 i)
uint16 operator[] (int8 i) const
boolean operator== (const TColorLab &c2) const
TColorLab & operator= (const TColorLab &lab)
uint16 L () const
uint16 A () const
uint16 B () const
uint16 & L ()
uint16 & A ()
uint16 & B ()

Private Attributes

uint16 fComps [3]

Detailed Description

Represents a color in the LAB space

    storage format : uint16, as defined in the ICC specs
    L     :    0   : 0x0        , 100.0 : 0xFF00,               100.39 : 0xFFFF
    a*,b* : -128.0 : 0x0        , 0.0   : 0x8000.               127.0  : 0xFF00    
    


Constructor & Destructor Documentation

TColorLab::TColorLab (   )  [inline]
 

TColorLab::TColorLab (  const TColorLab &  lab  )  [inline]
 

TColorLab::TColorLab (  const   uint16[]  ) 
 

TColorLab::TColorLab (  const   uint16,
const   uint16,
const   uint16
) 
 


Member Function Documentation

uint16& TColorLab::A (   )  [inline]
 

uint16 TColorLab::A (   )  const [inline]
 

uint16& TColorLab::B (   )  [inline]
 

uint16 TColorLab::B (   )  const [inline]
 

void TColorLab::FromLab (  const TColorLab &   ) 
 

uint16& TColorLab::L (   )  [inline]
 

uint16 TColorLab::L (   )  const [inline]
 

TColorLab& TColorLab::operator= (  const TColorLab &  lab  )  [inline]
 

boolean TColorLab::operator== (  const TColorLab &  c2  )  const [inline]
 

uint16 TColorLab::operator[] (  int8  i  )  const [inline]
 

uint16& TColorLab::operator[] (  int8  i  )  [inline]
 


Member Data Documentation

uint16 TColorLab::fComps[3] [private]
 


The documentation for this class was generated from the following file:
Generated on Wed Dec 7 14:27:45 2005 for Carrara SDK Doc by  doxygen 1.4.5